package com.qf.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @USER: Administrator
 * @DATE: 2025/9/6 下午1:19
 * @VERSION: 1.0.0
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ResultEnum {

    // 操作成功状态
    SUCCESS(200, "操作成功", true),

    FAIL(500,"操作失败",false);

    /**
     * 状态码
     */
    private int code;

    /**
     * 状态信息
     */
    private String message;

    /**
     * 是否成功
     */
    private boolean success;
}
